/*
 * Context.h
 *
 *  Created on: Jan 27, 2011
 *      Author: bvd
 */

#ifndef EMBEDDEDSYSTEMX_H_
#define EMBEDDEDSYSTEMX_H_

#include <iostream>
#include "State/State.h"
#include "Command/Command.h"

class Command;
class State;

class Context {
public:
	Context();
	virtual ~Context();
	void handleCommand(Command*);
	State* getCurrentState();
	void setCurrentState(State*);
private:
	State* pCurrentState;
};

#endif /* EMBEDDEDSYSTEMX_H_ */
